Fix getParents() for GeometryElement