Fix "overdue" and "today" queries

Handly "overdue" and "today" task queries correctly.
Same as the [former pull request](https://github.com/Garee/PyTodoist/pull/2#issuecomment-54351936), but just the bug fix without any other changes