Yet another stupid error. The sanitization loop should work now.