Fix switching votes for registered users