Strange Small Caps glitch in InDesign

I have generated a family in optical sizes. It all functions as it should apart from a glitch in InDesign. I don’t know if the fault lies with the font or InDesign. When changing caps and lowercase to All Small Caps it does what it should in all weights. However, if I change to Small Caps using the pull-down menu it changes to Small Caps, but stays in the lightest roman weight no matter what is selected, even italics. It only does this in this one particular family, but it looks as it should in the Glyphs preview window.

Can you please send me the .glyphs file to support (at) (this website without www). I will have a look.

It is a problem with the latest version of InDesign. This doesn’t happen in Illustrator.