Fix search in optgroup items