Eng 5579 Fix LeaderAppointer tripping over itself on promotion when joining nodes are leaving the cluster