Fixes the datastore indices.