Fixed issue when tag database conversion failed when attempting to write an already existing tag assignment.