Simplify loop to only the asserted case
Simplify loop to only the asserted case

This prevents needing to use `continue` and explicitly defines the case
where the class should be added.
StephenGrider/classnames,kwangkim/classnames,beni55/classnames,JedWatson/classnames,JedWatson/classnames,fattenap/classnames,Khan/classnames,ento/classnames,victor-homyakov/classnames,JedWatson/classnames,longlho/classnames,victor-homyakov/classnames