bugfix with clearing query stats in query callback