Fixed query stats available method