Fixed bug where deleted tasks still fired notification.