avoid IndexOutOfBoundsException on all field with no tokens and keyword analyzer