Condition based on {query_results_count} in nested query

Browser: Firefox
OS: Windows

I’m trying to build a megamenu with tabs. This is structure:

I want to display posts if category have no children. I came up with condition:

Dynamic data
{query_results_count:igssor}
equal
0

And got noting on front. Is it a bug or I did something wrong?