Fix uppercase hash searching

Fixes https://github.com/botherder/viper/issues/166