Revert "In "due" mode, delete codes for missing due date"

This reverts commit 934afcc12cefd92272ed6bf541bd37f0244eca96.
Revert 934afcc..849eaf9

This rolls back to commit 934afcc12cefd92272ed6bf541bd37f0244eca96.
Revert the change and change back