Repro:
search.experimental.notebookSearch: true
- Open a notebook
- Search in the notebook using something that would have in-code and in-output results
- Click on an output result
- Right-click a code input result
- Context menu should have option to replace

Seems to only happen sometimes...