Pending queue query does not take active state of servers into account