Fix select!([1,2],1)
Merge pull request #2932 from kmsquire/select_bug_fix

Fix select!([1,2],1)