Fix rare bug that crashed the HTML parser when parsing stories with 0 words