Changing the logic that used to exclude the modern equivalent of legacy variables from showing in the add variable dialog to only show them as already having been selected.

Issue: GCP-9786
Reviewer: Lisa Quayle