#1100 add check for undefined to ensure validator does not throw error or return incorrect result
Merge pull request #1102 from BladeRunnerJS/bugfix-1100-validator-should-work-for-undefined

#1100 add check for undefined to ensure validator does not throw error o...