Fixed lucene indexer problem