Revert "Revert "fix handling of in-site voting""

This reverts commit ca53ee15195af81eeb870d13e34aaf671e3d9b32.
Revert "Revert "typo""

This reverts commit 75082cd840e577206c57985dc2f02b5892d41a5a.
Revert "Revert "more attempts to fix""

This reverts commit 6d56762ac65dca2b1b8089ff5096f763f61ccc26.
Revert "Revert "tried to use = to test equality""

This reverts commit 4cf924da75d5f053d7aa098cebbbc7ec8ecd1826.
Revert "Revert "still not working… i'll look at it more tomorrow""

This reverts commit ce4351b168d6c919ced692fd8956217b4fb39757.