fixes #2193 Cant run lucene queries-with-text ranges