Fix remote call AST
Merge pull request #2481 from fishcakez/remote_call_ast

Fix remote call AST