Fix rootbridge firstencounter;

Also fix ledge issue.