Fix local cache store check.