Adding date range validator.