Bugfix to restricted eval.