Fix event deletion