Fixing missing null termination of ngram lists.