The effort-badge change wraps the model name span in a container span alongside the badge chips, so SPAN text queries that match on composed textContent hit two elements. Require a leaf span (no descendant span) in the affected model-menu-panel queries.