Fix for dates containing 'period {date range}'