Feature/debug election crash

Could maybe just do `if (!elections || !elections.count)`.