Fix bug in notifyAdmins