Fixed word prediction scanning problem for few than two choices.
Merge pull request #138 from ericwan78/issue-137

Fixed word prediction scanning problem for few than two choices.