this doesn't seem to break too badly

description

I ran all tests from the cubicweb guestrepo with this change, and didn't see regressions.

todo by<not specified>
activity of#fa10b6221e3a Fix iget_nodes not recursing into children once it found the right class