Fix typo breaking processing of tasks that overlap dates