Fixing an issue I had with traversing links.