Fix vote switching for anonymous users