HPCC-11244 Fix problem folding distribute on grouped null

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