blocks: fix one reason for invalid block data