Fix regression where get_queue did not work