This behaviour is by design.
These are constructed attributes, and cannot be queried in bulk.
With Windows Server 2012 R2 schema and above, it is possible to run a filter against msDS-parentdistname, which is a native Active Directory attribute which contains the DN of the parent container.
In an IF/ELSE branch within a search operation, it is possible to test against the parent container of the found object. The results can then be passed to a Saved Object and reports or operations can be run against the results of the Saved Object.