Leto Product Loop Widget - Out of stock products

I am using the Leto Product Loop Widget to display various categories on my website, but the widget shows out of stock products. I have set the woocommerce out of stock checkbox to hide items from the catalogue but is does not hide them from the product loop.
Any suggestion of how to hide out of stock items from the widget please?