Closes Issue #249: Bug: When there are duplicate tasks and one is selected, all get selected after sorting the task list.