Just tested this out in a fresh install of X-Cart and the same thing is happening. Using Jon's hidden categories mod, the products in the hidden categories are showing up in the search results. Mustang's mod above fixes the search results problem, but also ends up hiding the products in the hidden category as well
Ideas anyone?