Quick bugfixes regarding voting.