BUG: do not remove temporaries from eval/query scope