Swid tag replacement bug

If an already existent swid tag is replaced, entity relationships are not updated correctly. Don't know if they are updated at all, but adding an additional entity (e.g with role publisher) does not work. The additional entity is not shown in the tag view.