Fix EZP-21696: new SubtreeLimitation fails w/ InvalidArgumentException
Fixed the same bug in tests
Merge pull request #543 from ezsystems/ezp21696_subtreeLimitation_invalidArgumentException

Fix EZP-21696: new SubtreeLimitation fails w/ InvalidArgumentException