fixed various crashes and weird behavior when comparing a word list which has no words