Fixed the query inaccuracy problem.