Don't truncate to short keys in the type

You should be able to create/delete keys using the long key to avoid
collisions, and truncating in the type makes that not work.
Merge pull request #365 from mhaskel/long_key_support

Don't truncate to short keys in the type