Fixed taskByDateFilterSpec not using the right kind of task objects