Fixed the same issue in delete event