MDL-38972 detect key-index duplicates