Add missing duplicate detection for event_task