Issue #2961895: Only call election_post_voting_open() when there is a post in election_candidate_access() Fixes bug introduced in dbc92dcf.