Fix the problem caused by simultaneous indexing requests (same transId). Fixed isWord() func.