click first link when there are more matching elements