Improves display of date ranges.

Previous transformation only processed the first date in a date range.