fixes #849
Fixes #1003: DateValidator returned true for invalid dates