**System Information**
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12
**Blender Version**
Broken: version: 3.2.2, branch: master, commit date: 2022-08-02 18:15, hash: `rBbcfdb14560e7`
Worked: (newest version of Blender that worked as expected)
**Short description of error**
I have a children who paranted to parent from another collection. And children of childrens not all in main parent hierarchy.
{F13380603}
**Exact steps for others to reproduce the error**
Create 4 objects named "1, 1.001..." And parent them to object "2". Then copy this hierarchy "2" 3-4 times. Plase them to collection "a".Then create object "3" and place this object to collection "b". Parent objects "2. 2.001. 2.002, 2.003" to object "3". And you'll see that hierarchy "3" is not full...
[Based on the default startup or an attached .blend file (as simple as possible)]