Switching the class QueryRequest to server ids as well