Query includes wrong count and "null" with nested elements

I have a content model with nested elements.

When I unpublish nested elements, the query results includes an error that some links are not resolvable - this is documented.

But it also includes “null” as elements and wrong element count - which included the unpublished item. This seems to me as wrong behaviour.

Result where I nested item is published and another unpublished:

Query:

 {
  testParentCollectionCollection
  {
    items
    {
      childrenCollection
      {
        total,
        items
        {
          testText
        }
      }
    }
  }
}

Response:

{
  "errors": [
    {
      "message": "Query execution error. Link from entry '57ehtBwvhxMVwTrKiQmpIv' to entry '1uIsljj51S6UnK9s2RjV9U' on field 'children' within type 'TestParentCollection' cannot be resolved",
      "extensions": {
        "contentful": {
          "code": "UNRESOLVABLE_LINK",
          "requestId": "5a93899a-4d16-4056-8f04-223c4cca8744",
          "details": {
            "type": "TestParentCollection",
            "field": "children",
            "linkType": "Entry",
            "linkId": "1uIsljj51S6UnK9s2RjV9U",
            "linkingEntryId": "57ehtBwvhxMVwTrKiQmpIv"
          }
        }
      },
      "locations": [
        {
          "line": 9,
          "column": 9
        }
      ],
      "path": [
        "testParentCollectionCollection",
        "items",
        0,
        "childrenCollection",
        "items",
        1
      ]
    }
  ],
  "data": {
    "testParentCollectionCollection": {
      "items": [
        {
          "childrenCollection": {
            "total": 2,
            "items": [
              {
                "testText": "Test1"
              },
              null
            ]
          }
        }
      ]
    }
  }
}