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

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