A task with no due date created an error when checking for completion.
Merge pull request #16 from leephillips/ap

A task with no due date created an error when checking for completion.