fix deleteDocument in WebUtilsService if document to be deleted is not
in the current context database.