fix bug when getting mrca from a single node