Fixed minor bugs with voting