This error affects the optional indexes (not the blockchain index nor chronik) during syncing, where the stored best block index is lagging one block behind. This has no consequence in practice unless a reorg happens during syncing, as the proper value is committed when syncing completed.
This was missed in D17704.