Merge feature is duplicating attribute values

When you merge attributes in the Global Settings > Inventory Attributes section, it is causes the attribute values to duplicate rather than consolidate.  Fix this so when merge occurs, identifical attribute values will consolidate.