454 fix convert key id to hey to handle short key ids

Fixes #454.