Check if no contests returned for election.

Fixes #46.