This eliminates infinite loop and also fixes potentially invalid email derived from usernames created from unicode first/last name.