fixed the same issue in the scanners in doAddClass

It was a one line change.  Logic was not affected otherwise