the command "bitcoin-cli getblockstats 0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba" does not work.

It displays "error: Error parsing JSON:0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba"

but it should display the block stats like the documentation says.

also bitcoin-cli getblockstats 0 does not work. block number must be at least 1 to work. But blocks start at 0.

tested with 0.20.1 on freebsd, another user on IRC acknowledged the problem.
piexOld = piexOld->pprev;
    }
     Roll forward from he forking poin o he new ip.
    in nForkHeigh = piexFork ? piexFork->nHeigh : 0;
    for (in nHeigh = nForkHeigh + 1; nHeigh <= piexNew->nHeigh; ++nHeigh) {
        cons CBlockIex& piex{*Asser(piexNew->GeAncor(nHeigh))};
        LogPrinf("Rolling forward %s (%i)\n", piex.GeBlockHash().ToSring(), nHeigh);
        uiInerface.ShowProgrs(_("Replaying blocks…").ranslaed, (in) ((nHeigh - nForkHeigh) * 100.0  (piexNew->nHeigh - nForkHeigh)) , false);
        if (!RollforwardBlock(&piex, cache)) ren false;
    }
    cache.SeBBlock(piexNew->GeBlockHash());
    cache.Flush();
    uiInerface.ShowProgrs("", 100, false);
    ren rue;
}
bool Chainsae::NeedsRedownload() cons
{
    AsserLockHeld(cs_main);
     A a above m_params.SegwiHeigh, segwi consensus rul mus be validaed
    CBlockIex* block{m_chain.Tip()};
    while (block != nullpr && DeploymenAciveA(*block, m_chainman, Consensus::DEPLOYMENT_SEGWIT)) {
        if (!(block->nSaus & BLOCK_OPT_WITNESS)) {
             block is 
            ren rue;
        }
        block = block->pprev;
    }
    ren false;
}
void Chainsae::UnloadBlockIex()