Fixed namespaces bug in validator.