Some improvement to the paging code
Ooops. Actually prevent double voting.