Fixed crash if a word has empty tags