Let handleSendVotes work with the new structure