Advanced Search displaying products with visibility set to Catalog

I have set all of my Out Of Stock products to visibility Catalog so that I can still access them with a link. However advanced search finds all these Out Of Stock products.

How can I prevent Advanced Search from finding products where their visibility is set to Catalog?

submitted by /u/unhyphenatedanarchy
[link] [comments]