fix filtering of notes with no tags