Fix a bug which caused restoring some old votes
Starting from the second epoch, this change affects the way application hash is calculated. Validators are encouraged to put votes with the protocol field set to 110 if they agree and 220 if they disagree.