avoid duplicates for scoped variable completions