updated the 'select all under this optgroup' action to properly handle the new multi-tier layout