raise 404 for no elections
Merge branch 'dev'