PROV-620 Fix issue with display of self-relationships: wasn't reliably filtering "primary"