Fix test-delete-completed-tasks-returning-all