Added a check for empty Event Name