Update item versions correctly when adding/removing tags