Better conditional in iobuf_remove()