Steps to reproduce:
Search for a keyword with the search bar (do not delete the search term afterwards)
Open a note containing it and start editing it
Once you delete the sentence containing the term, the list of notes containing the term is refreshed and the note you were writing in is gone
This is annoying as it interrupted my editing. Please make it so it does not close the note you are actively writing it.