fixed another problem with the delete workflow