Bugfix for numQueues when specifying queues by name