Fix broken parent links.