This is not suported on the product results page.
The products results page can show products from multiple categories, it will not always show products from the same categories.
this could end up with a results page showing the category as dresses, but showing a combination of dresses, shirts and pants.