fixed Jacobs logic error on vote counting