Fixes the GetStandardDateRange method of DateRange control.