Allow validation in depth of null or undefined objects

Error when trying to validate a null object. I'm using this module to validate in depth objects inside other objects and sometimes the value is null and it breaks the flow.