[server][DBAgent::SelectMultiTableArg] Fix a bug that uses a non-existing variable.