You will have to loop to get nested memberships, there's no other way.
_________________________
There are two types of vessels, submarines and targets.