fix issue with parent child hierarchies, return correct parent members