Fix voting bug