Fix election internal typing naming