Rettet DeleteEvent klassen.