Prevent division by zero in CacheHitRate