Cache::exists performance fix