Use correct instance of queryResult