Fix incorrect indexes definition in schema.