add type check to prevent errors when value is undefined
Merge branch 'master' of https://github.com/aldeed/meteor-simple-schema.git