Updated search template to find the search term in both the title and the notes.