More bug fixes within the Lucene implementation.