Fix EZP-21696: new SubtreeLimitation fails w/ InvalidArgumentException

trim's first argument should be the string to trim