Search context: Include search context when copying the query
Created by: novoselrok
Stacked on #18132 + requires logic to detect if context: filter is used in query from #18131.
Fixes #16365
Created by: novoselrok
Stacked on #18132 + requires logic to detect if context: filter is used in query from #18131.
Fixes #16365