And I'm not quite sure how I missed the same here. Also switch this to `item = queue.slice();`