Fix handling of deletion notification.