Hi Mykola,
today I had the chance to upgrade all of our PMM server deployments to version 1.1.4, but I see that the fix for this issue hasn’t been merged.
The last query you sent me works as expected even with an high number of nodes:
I asked PMM Team to prioritize this pull request, so now it is reviewed and merged (fixed).
So new code (with fix) will be avaiable in the next 1.1.5 release.