[CROSSFACTION BG] Fix issue when there are more then 2 queues popping at the same time.