Ignore bad URIs when searching for links