Add input validation check for event location