On our product listings page, two of our products have color swatches showing up beneath them which should not be there, one of them does not even have any configurable color options set but is showing them anyway.
The other has 4 color options that should be there but 8 that shouldn't. The 4 that should be there are swapping the main product image correctly while the 8 that shouldn't are sometimes swapping the product image and sometimes for a different product image entirely.
I've checked that the color attribute is correctly set for all the associated products and they are, I've also cleared the cache and re-indexed.
I've looked in the template/configurableswatches/catalog/product/list/swatches.phtml file and see that
$_attrValues = $_product->getListSwatchAttrValues() is responsible for getting the list of swatches on the product listings page but that's as far as I could debug it.
Any idea where Magento is getting the list of swatches from, is it from a DB table. Any other advice would be appreciated.