ALM-701 changed scope of couchdb delete method