Allow bidirectional assignment of relationships from search results