HPCC-9003 Check inside expression attributes for evaluation in thor.

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