Fix past_due() when there is no due date.