Fix handling of due dates following commit to GPC API with id fc02c46eea...

...9d9e7cc472a7fc1801ea65d467db76, due to incorrect handling of default values

Broken Commit link for reference: https://github.com/mantisbt/mantisbt/commit/fc02c46eea9d9e7cc472a7fc1801ea65d467db76