handling deleted/nil tasks in recent changes