Fix voting error for unregistered users