Handle empty word list