Fix vote check (#1233)
Fix vote check (#1233)

This was broken in #964 
SergiySW/raiblocks,SergiySW/raiblocks,clemahieu/raiblocks,clemahieu/raiblocks,SergiySW/raiblocks,clemahieu/raiblocks,SergiySW/raiblocks,clemahieu/raiblocks,clemahieu/raiblocks,SergiySW/raiblocks,clemahieu/raiblocks