Fixed error when creating new WorkflowSegmentation node in release mode.