The maximum level value is being calculated incorrectly.
Preconditions
The result response does not contain the last child item (specified on the deepest level according to the request).
Looks like the issue appears due to the incorrect maximum depth level calculation in \Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider (line 100).
Expected result

Actual result

The maximum level value is being calculated incorrectly.
Preconditions
The result response does not contain the last child item (specified on the deepest level according to the request).
Looks like the issue appears due to the incorrect maximum depth level calculation in
\Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider(line 100).Expected result
Actual result