Fix problem with dateFormatValidator