Dont save nonexistent identities on getlinkedidentifiers