FlowControl: moved double-queue check to proper position