HPCC-11542 Ensure expressions in action lists are actions.

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