Un-nesting and consolidating searchform