Filtering & optgroups

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