Fix for issue #2881

Not sure if this is the right fix or if the code in evaluator.js should be changed to use `.parameters` instead of `.dict`. The tests pass.