HPCC-10265 Fix problems processing action dependencies

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>