HPCC-10865 Activity Page Throws an Exception

If State is numeric there is an invalid call to indexOf.

Fixes HPCC-10865

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

HPCC-10865 Activity Page Throws an Exception

Reviewed-By: Kevin Wang <kevin.wang@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>