Search bar when Listing Categories are displayed

When someone types a keyword into the search bar on a page that is displaying subcategories, it does not come up with results even if there are results in the parent categories. I must click “all categories” and then it searches. It makes for a poor user experience as it seems like the search is not working for keywords, rather than just wanting them to select a subcategory.

Please make sure that these subcategories contain listings, if you search listings while viewing a subcategory, then search will be performed within this current subcategory, not in all categories.