Add indexes for the queue