Fixed in modes lookup.
The previous correction to look up modes in context of subcomponent did
not work if there was no subcomponent in the applies to path.