Fix problem creating Lucene Index