Fix REPL bug with function calls as arguments.