This fixes the size calculation on purge to only include blocks once, and not include blocks that are still referenced elsewhere.