Correct key indices which are actually distinct from the schema mechanism