Fixed problem with non-current-month dates.