When setting up a simple layer state test, I think there is something amiss when the returned layers to a query don't all become visible, when they should.
In the example attached, the Green Tag is selected and all the relevant layers are showing green, but only the Master layer of the two artboards becomes visible.
I think I have the query right. In this case, the Green tags reference the two SP layers, SP1 and SP2. I'll show the second screenshot where I have manually turned on the child layers.
I was expecting that all of the layers tagged green would be turned on as a result of the query.
Screenshot 1
Screenshot 2