Fixed Workflow Segmentation module memory leak associated with algorithm instances.