Fixed due date update

Save due date now only fails for negative working period durations and
for when sum of all working period durations is zero.
Merge pull request #111 from dannybutler/master

Fixed due date update