Fixed bug that does not allow nesting WebContainers
Refactored ResetSearchContext under the hood