added handling for card with no due date