Fix duplicated BOMs.