Fix inaccurate per-block Prometheus metrics.