Select the leader with right configuration after recovery.