Added check for missing event.