Fix logic inversion for unfiled notes
A note is contained in the UnfiledNotesNotebook iff it's not in another notebook. That logic was accidentally reversed in commit d3709626 ("Get IGnote from member").
This bug is quite annoying when you have many notes in notebooks and "private" ones unfiled. Please consider backporting to a stable release.