Added the ability to limit the scope of metadata queries by path heirarchy