Query Model layer not working as expected

If it works for style selection:

why it is not working for layers…

neither this:

nor this:

The layer is, obviously, available:

Could you please attach an example Rhino file and Grasshopper file for this so that I can take a look?

PM’d you