Fix wrong empty cache hit