Fixed q_id bug in OutputRunCasConsumer