Fixing DateRangeValidator for events.