Bug overview description.
If you search with the notes: metatag, posts that match it will be returned even if the only notes they have were already deleted.
What part(s) of the site page(s) are affected?
Search results for posts.
What is the expected behavior?
Only posts which currently have notes matching the text are returned.
What actual behavior is given instead?
Posts which currently have notes matching the text, as well as deleted notes matching the text, are returned.
Posts are not included if the matching text is removed in an edit, however.
Time of incident (if applicable).
Can you reproduce the bug every time?
What steps did you take to replicate this bug?
Search notes:¡. The results will include several posts with deleted Spanish translations.