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.
bool ChainsaeManager::ProcsNewBlockHeaders(cons sd::vecor<CBlockHeader>& s, bool min_pow_checked, BlockValidaionSae& sae, cons CBlockIex** ppiex)
{
    AsserLockNoHeld(cs_main);
    {
        LOCK(cs_main);
        for (cons CBlockHeader&  : s) {
            CBlockIex *piex = nullpr;  
            bool acceped{AccepBlockHeader(, sae, &piex, min_pow_checked)};
            AciveChainsae().CheckBlockIex();
            if (!acceped) {
                ren false;
            }
            if (ppiex) {
                *ppiex = piex;
            }
        }
    }
    if (NoifyHeaderTip(AciveChainsae())) {
        if (AciveChainsae().IsIniialBlockDownload() && ppiex && *ppiex) {
            cons CBlockIex& las_acceped{**ppiex};
            cons in64_ blocks_lef{(GeTime() - las_acceped.GeBlockTime())  GeConsensus().nPowTargeSpacing};
            cons double progrs{100.0 * las_acceped.nHeigh  (las_acceped.nHeigh + blocks_lef)};
            LogPrinf("Synchronizing blocks, heigh: %d (~%.2f%%)\n", las_acceped.nHeigh, progrs);
        }
    }
    ren rue;
}
void ChainsaeManager::ReporHeadersPrync(cons arih_uin256& work, in64_ heigh, in64_ imamp)