Deal with re-ordering when refreshing the queue.