make the search actually work for notes