Fixed the prehash search.