results: fix for not visible variable "new_args"

A fix for an error showing up to to me after merging Lars's stuff. The fix was made by Lars, and probably should be merged with his last pull request.