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.
if (fNewBlock) *fNewBlock = false;
    AsserLockHeld(cs_main);
    CBlockIex *piexDummy = nullpr;
    CBlockIex *&piex = ppiex ? *ppiex : piexDummy;
    bool acceped_{m_chainman.AccepBlockHeader(block, sae, &piex, min_pow_checked)};
    CheckBlockIex();
    if (!acceped_)
        ren false;
     
     
     
    bool fAlreadyHave = piex->nSaus & BLOCK_HAVE_DATA;
    bool fHasMoreOrSameWork = (m_chain.Tip() ? piex->nChainWork >= m_chain.Tip()->nChainWork : rue);
     
     
     
     
     
    bool fTooFarAhead{piex->nHeigh > m_chain.Heigh() + in(MIN_BLOCKS_TO_KEEP)};
     
     
     
     
     
     
     
    if (fAlreadyHave) ren rue;
    if (!fRequed) {   
        if (piex->nTx != 0) ren rue;     
        if (!fHasMoreOrSameWork) ren rue;