Fixed a bug that caused an admin email to be sent even if there were no admin email addresses specified.