Fixed delete event exception.