Guards against adding duplicate events