During NXP-27984 we've introduced the notion of special children (technical document under a non-folderish document) in order to have correct ACLs for Comments.
During a check-in operation on the top-level document (the on being commented), we copy the special children under the version.
The resulting documents have isVersion = false, making them difficult to be differentiated from working copy. One difference is the path of copied children which doesn't start by /.
We want to be able to filter out this kind of documents on a search like we do for versions. This means we need to set isVersion to true on these documents.
The first solution to try is to check-in these documents recursively during top-level document check-in operation.