Fix solr reindex task

Closes #138.