Modify StringSet.prototype.getPartialSets