fix bug in new iper master selection
fix bug in new iper master selection

yangf4/core,yangf4/core,YetAnotherMinion/core,YetAnotherMinion/core,YetAnotherMinion/core,YetAnotherMinion/core,yangf4/core,yangf4/core,yangf4/core,YetAnotherMinion/core