Don't attempt to instrument queues if there are none.