Removes election refs