Nestable Tabs and Query Loops

I’ve a similar question but with terms