Added rehash call when cache check fails