Updated the query for MyQueue.