Fix detection of block-incomplete input data