restore previous query count by selecting the related site.