Improves error messages for duplicate event submissions.