Issue 5197 error when content refers to deleted workflow step