fix infinite loop in storage buffer ack (when first buffer isn't of the type being acked)