Wishlist and Comparison show wrong count for products. If a registered user adds product to wishlist or comparison and the product is deleted afterwards the count will be wrong.
There should be a check if products should be visible to users (to exclude the deleted/drafted products), and only those should count.
The Comparison has limit of 5, so if user adds 5 products and they are deleted afterwards, user won’t be able to use the function.
Even after cleaning the cash the problem persists, because the wishlist for registered users is stored in database.