Set adminDuringElectionOk in the config file, not dynamically in the database