Duplicate size swatches on some product pages

I’ve got something strange going on here and I can’t pinpoint where the problem is.

On some of the products pages I am getting duplicate size swatches

enter image description here

What could be causing this issue? Could it be a misconfiguration of a product?