magento2.3 – Magento 2.3.3 MSI: Is there a way to remove products from search results or catalog pages when your salable_qty is going to

This is the scenario:

quantity = 2
there is a reserve for the product with quantity -2
salable_qty = 0

The product is still displayed in search results and category pages, but you cannot add it to your cart. This is a bad customer experience, as the user will have to click on the product to see that the product is out of stock or click Add to cart to see the notification.