fixed capybara to choose first instance of a link to click, which is no longer default