Fix query syntax error in adsgut for bigquery requests