Fix undefined when batarang is enabled. Fix individual query counters in histogram panel