Bug fix to previous commit. Removing 'authority' index from Solr check
as it seems problematic if index is not initialized. Also ensure
Discovery reindex isn't triggered multiple times if an error occurs.