Flow: fixing a bug in the limit=-1 case when the next frame is DATA