Fixed the HierarchyConverter to produce a consistency result;
Implemented to convert/revert the path for all path segments.