Notwithstanding the provisions of section 18-5-3, a violation of this title may only be deemed a class one misdemeanor if the violation is:
A. The second or subsequent public nuisance as defined in section 18-2-1; or
B. The second or subsequent violation of any other section within two years of the first violation.