small fix for terminating condition check against max_nonce