GLTF Material Selection from subpatch not working

if a try to put the material selections into a subpatch, the GLTFscene op ignores them. if they are next to them in a subpatch, no problem

via variable does not either. seems to be related. only direct connection works for some reason