Modify follow_link to try to find the link first