Fixed type check for array value type
fixed typo
var name was flatValidator
Merge pull request #1 from appersonlabs/master

Fixed type check for array value type