Changed how votes are processed to fix possible bugs.