Bug fix for showing deleted tasks in display