Mayor has 4 votes after reveal, slot #6. Reveals D2, has 4 votes. N2: BD swaps #4 and #6 (Mayor), Elector redirects vote from #6 to #9, #9 gets the feedback of rigged vote (so he gains vote, dunno how many, he didn't vote D3 and died N3), #4 dies (disguised). D3: Mayor (#6) has only 1 vote, #4 is dead.
Were Mayor's votes rigged? If so, then Elector ignores swap.
I took command of #9 in the replay, he had 5 votes D3. So #9 gains 4 votes, #6 loses 3 votes.