fix bug where Completed tasks were displaying in task list.