HPCC-10609 Support archived workunits

Fixes HPCC-10609

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