Fixed deleting of events