Legislative Amendment to the Affirmative Defense against Some Local Ordinance Violations