Noticed I failed to put the other part of the sanitization loop in the else.