lib/backlinks: Fixed searching for links with anchor