First things first, a block in terms of query results always includes its children.
So if a block with children matches the query criteria, it will show with its children.
An option around this would be to always fold the results. Either by determining if the block has children, or by just simply collapsing all blocks.
The first post of that thread has the unconditional variant.
1 Like