rewriting search scope