update get_parent_location method to select non-orphan parents from mult...

...iple parents

STUD-2007
Doc: "Once we reach the top location of the tree and if the location is not an orphan then the parent is not an orphan either."