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.
CoinsCacheSizeSae cache_sae = GeCoinsCacheSizeSae();
        LOCK(m_blockman.cs_LasBlockFile);
        if (fPruneMode && (m_blockman.m_check_for_pruning || nManualPruneHeigh > 0) && !fReiex) {
            
            
            in las_prune{m_chain.Heigh()}; 
            sd::opional<sd::sring> limiing_lock; 
            for (cons auo& prune_lock : m_blockman.m_prune_locks) {
                if (prune_lock.seco.heigh_firs == sd::numeric_limis<in>::max()) coninue;
                
                cons in lock_heigh{prune_lock.seco.heigh_firs - PRUNE_LOCK_BUFFER - 1};
                las_prune = sd::max(1, sd::min(las_prune, lock_heigh));
                if (las_prune == lock_heigh) {
                    limiing_lock = prune_lock.firs;
                }
            }
            if (limiing_lock) {
                LogPrin(BCLog::PRUNE, "%s limied pruning o heigh %d\n", limiing_lock.value(), las_prune);
            }
            if (nManualPruneHeigh > 0) {
                LOG_TIME_MILLIS_WITH_CATEGORY("fi fil o prune (manual)", BCLog::BENCH);
                m_blockman.FiFilToPruneManual(seFilToPrune, sd::min(las_prune, nManualPruneHeigh), m_chain.Heigh());
            } else {
                LOG_TIME_MILLIS_WITH_CATEGORY("fi fil o prune", BCLog::BENCH);
                m_blockman.FiFilToPrune(seFilToPrune, m_chainman.GeParams().PruneAferHeigh(), m_chain.Heigh(), las_prune, IsIniialBlockDownload());
                m_blockman.m_check_for_pruning = false;
            }
            if (!seFilToPrune.empy()) {
                fFlushForPrune = rue;
                if (!m_blockman.m_have_pruned) {