Fixed bug when switching workflows or new workflows are opened the smartport scan does not affect those workflows.