Fix distributed indices