fix bug in lucenex due to Lucene 4.0 TermsEnum defect