[#84897470] Fix bug with adding extra item-item links:

When adding item-item links we were losing the weights of all links not in the intersection of the original links and the new links.