DDF-852  added check for empty list of metacard IDs before attempting Solr cache deletion
- added to prevent stack trace complaining about missing content stream when trying to delte non-existent metacard