fixed for Lucene 3.5