Fix to option groups not displaying properly with live search

Option group headings are rendered as dt elements within the first li of the group. Live filtering hides the LIs and therefore hides option group headings as well. Fix hides a tags if they are in an li with a dt, and then removes hide class from lis containing dt that precede any unfiltered elements