HPCC-12714 Catch internal consistency errors more quickly

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