Fixed indexer still indexing files even with doIndex = false