Set ALLOW_INVALID_DATES (fixes issue #63)