HPCC-10489 Fix problem when dataset param is projected to base record

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