Fix for empty strings being counted as a word.