Fixes bug 337 Cannot change the due date for an existing task.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>