Fix getBlock for mixed blocks.