Fixed logical errors in GuiQueue