issue #20559: isNested toMany relations should not be counted for used