fix logic for selecting projected attrs on lsi/gsi