Fix voting population counting. This was broken in commit 7e453cb4.