Flexibilizar VerifyHierarchy

Fixes #727
Merge pull request #731 from robertatakenaka/tk_727

Flexibilizar VerifyHierarchy