Fix problem with _bulk delete.

Apologies, missed the fact that the index and/or type might not be specified.  This should fix it.  Tests updated.