Working on bug to merge identical tags