avoid IndexOutOfBoundsException on all field with no tokens and keywordanalyzer