Fixes for date handling, particularly around recurrence ranges.