Fix delete event