fixed more bugs with lucene version 4.10.1