select fielda,fieldb from table.... causes shallowIndexOfWord method at line 256 to raise string index out of range -1 error. Because it searches with ' '
Please find attached debug session.