Fixed bug where in_error was not being passed back to the client as part of return_type