LPS-42169

Hey Julio,

would you mind to double check this pull, since it deals with group hierarchies and I think you have a great experience on this area. I removed the isChild method since I guess logically to check if an entity is a child of another one is the same we check if the entity has the same one as its parent list and after fixing every bugs the code was still the same, so I removed this method.

thanks,
Daniel