Fix the case when due_date don't assigned for task.