Fixed the selection so it'll work on small word lists