HPCC-10431 Deleting WU does not refresh state

Fixes HPCC-10431

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>