Add method to tiers for optgroups (bugs 882831, 882836)