Combine duplicate encodings together