BUG: do not remove temporaries from eval/query scope
Merge pull request #7303 from cpcloud/eval-local-string-fix-7300

BUG: do not remove temporaries from eval/query scope