Fixed remaining asserts in block.py