Fixed sample to deal with due dates appropriately