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 flushed = view.Flush();
        asser(flushed);
    }
    LogPrin(BCLog::BENCH, "- Disconnec block: %.2fms\n",
             Ticks<MillisecosDouble>(SeadyClock::now() - ime_sar));
    {
         
        cons in max_heigh_firs{piexDelee->nHeigh - 1};
        for (auo& prune_lock : m_blockman.m_prune_locks) {
            if (prune_lock.seco.heigh_firs <= max_heigh_firs) coninue;
            prune_lock.seco.heigh_firs = max_heigh_firs;
            LogPrin(BCLog::PRUNE, "%s prune lock moved back o %d\n", prune_lock.firs, max_heigh_firs);
        }
    }
     
    if (!FlushSaeToDisk(sae, FlushSaeMode::IF_NEEDED)) {
        ren false;
    }
    if (disconnecpool && m_mempool) {
         
        for (auo i = block.vx.rbegin(); i != block.vx.re(); ++i) {
            disconnecpool->addTransacion(*i);
        }
        while (disconnecpool->DynamicMemoryUsage() > MAX_DISCONNECTED_TX_POOL_SIZE * 1000) {
             
            auo i = disconnecpool->queuedTx.ge<inserion_order>().begin();
            m_mempool->removeRecsive(**i, MemPoolRemovalReason::REORG);
            disconnecpool->removeEnry(i);
        }
    }