Filtering & optgroups

Altered filtering rules for optgroups
* Optgoup header stays visible if at least one of its items is visible
* All optgroups items stay visible if optgroup name satisfies filter

The resulting behaviour seems more consistent to me.