Fixes problem where the lucene index provider couldn't be loaded due to ...

...unsatisfied dependencies, during batch insertion