Making sure that we use an index when performing the retry all