Modified check of event_id against existing events.