Fix potential segfault on reads with soft clipping.