Adding QueryPerformance at intermeditae level