Fix delayed queues.