Fixed deletion of job resources and job reports in CouchManagerApi.