I'm trying to find a solution to remove the Option Name if the product options = 0 of a particular option. By default, OC removes the options but not the Title itself, which doesn't make any sense.

For example:
I have checkboxes enabled for my product options. I created : 'Stock Options' for my option, and then created S, M, L, etc.... for my product options.
This works great, but when I have zero qty & zero product option qty for any given product, the product options (S, M, L, etc) are removed from the single product page but the actual Option Title Name is not.
I need to remove this. Can someone explain how I do this please?
Thanks in advance.