Fix case sensitive hash search