select: Add ability to navigate by typing #531

It seems that `index` can't be greater than `len` so second part of this condition is redundant.