key_commit: Closed a possible loophole that would allow duplicate account codes