Edit to accept mutiple POI parent links as well as single parent.

You probably should check if containedBy instead of poi._links.parent to align in on your for loop; and if the view/the definition of _links.parent becomes different of containedBy this might cause strange issues...