HPCC-10431 Deleting WU does not refresh state

Fixes HPCC-10431

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #5475 from GordonSmith/mark_del_wu

HPCC-10431 Deleting WU does not refresh state

Reviewed-By: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>