calcs/hazard/classical/core:

Added handling for a corner case so the query block size doesn't get set to
zero.