Fix #1926
Merge pull request #1928 from matheod/fixvoteWeight

Fix #1926