Fixed TDatePicker validation