Only perform merging over identical attributes.