Fix error when due_date is blank?