Fix for DivisionsHierarchy table function