TermStringList returns wrong index for empty string