Fixed a bug "election closed" page was not shown when logged in