Ensure stringiness of queries