Fix bug in form edit workspace-task