Fixes the DateRange control.