Correcting indexes for schemaPlugins