Fix excessive item version updating modifying item tags via sync

When a tag was changed on an item during sync, all items linked to the old tag
were modified instead of just the one from which it was removed.