LEAD-196 set data position correctly when there is no next block.