Exchange variant eligibility patch

Line is too long. [128/80]<br>Prefer `map` over `collect`.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.