update select by index to be called in __newindex__ also
Merge branch 'newindexcorrect'