Worktree option does not work correctly. Changes for Current Task still goes to current parent workspace

When choosing worktree, the current task does not make the changes to the new worktree, but still makes the changes in the current workspace. (ie the current parent)