Fixed bug in nsq max in flight.