Fixed logic for cache clearing