Fix undefined badEmails