HPCC-9711 Ensure only the atmost condition is used for calculating the h...

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