SOLR indexing improvements - better error messages.
[#1038] Fix top level groups including deleted ones.