Handle nested roots with a heuristic ("does not contain href")