fix candidate peer compare, only save connected addresses