Thanks again Nicolas, that does fix the issue of double select states on product or category pages.
It does leave me with a select state when I navigate away from my products and visit my contact page or home page, which show no products... it would be great if the category menu reset itself in those situations.
The active state is being "remembered" in those cases - the $class is not reset to clear. Or is it the $found variable? I'm not sure. Tried to alter the code, but the conditionality is beyond me.
Is there a simple way to clear those (if applicable)?
Thanks again for all your help