use 0 base index for select by index on dropdown

also includes memory enhancement test fix for scoped data