Issues #10706, #10707 done. Added folded trees, added splited requests for active and canceled documents