Group ID's are no longer used. Stop adding them to the HTML
results_option_build is calle after a result is deselected so
there's no need to manually update the visibility of an option.