Deduplicate entity identities before limiting ambiguity checks
When a name-based resolver reads a table with multiple child rows per entity, apply DISTINCT to the entity identity before LIMIT. LIMIT 2 can efficiently distinguish zero, one, and multiple matches only after deduplication; limiting raw child rows can conceal another matching ent…