Fixed the bug where an existing search overrides new collection windows