Fixed voting bug