Fixed problem with keys of length < 4

I hope you'll accept my small bugfix. Hopefully it's also ok to ignore the .nuget directory, since my VS created this when I loaded the solution.

I'm planning to do more, but I like to start with some small pull requests :)