Filter indexes that do not exist on Solr

Fix issue #395