Fix event delete method to allow clearing of events