HPCC-10149 Fix regression test, and check for KEEP(1), LIMIT(n)

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