Sort Advanced searching

Occasionally I do an advanced search, for instance I want to search entire the Firewall Category. One would expect every subcategory to be listed subsequently under the main category but odd enough some subcategories are spread over the Advanced Search view.
Not very user friendly to work with. Oups forgot to select a category listed somewhere up or down…
Don’t know if how subcategories are set up, but if some subcategories are part of more then 1 main category why not just list them that more then 1 time under the main category. Users would be more aware of such feature.