diff --git a/packages/core/src/skeleton.js b/packages/core/src/skeleton.js index 45b6686..db33f71 100644 --- a/packages/core/src/skeleton.js +++ b/packages/core/src/skeleton.js @@ -181,9 +181,9 @@ Index.prototype.removeHandler = function(analysisResults, callback) { constValMap = constValMap.remove(constVals); } if (constValMap.isEmpty()) { - continuation.leafMap.remove(constPaths); + continuation.leafMap = continuation.leafMap.remove(constPaths); } else { - continuation.leafMap.set(constPaths, constValMap); + continuation.leafMap = continuation.leafMap.set(constPaths, constValMap); } };