Fixing a bug in NumQueuedFlowMetric