Fix key mapping in InsertRegister.