Pushing buggy determineExpiredPolls code so both Peggy and I can debug it.
Merge remote-tracking branch 'origin/determine_expired_poll_fixing' into connect-to-backend