Excellent, don't know how I missed that one when searching, but thanks Andy. This might be better suited to the tech discussion forum, but is there a specific reason for the "primary" flag on the association (or, why should one link be weighted as more important than others)? Is there a reason for deleting every reference to the node if the "primary" association is deleted? Why isn't the node only deleted when the last link to the node is removed?