Bug fixes with dates.