The categories appearing in the search drop down menu aren’t the same as the product categories add to the website. They aren’t the same as the categories in the “Categories” menu either, I checked that.
The menus were correctly set but it didn’t work. However, for the time being I’ve removed the category drop down from the search as I think it might be better like this. I will see what my partners think.