switched parameter from election_ids to elections