Simplifying multi group master elections.