Fixed a bug: now findGameQueueIndex will correctly access the queue