Cleaning orphan children now respects predicates correctly

This fixes #19