Fasten the search visitor by ignoring some top level constructs