Fixed issue with dates.