Fixes wrong behavior with the username/mail check