Fix filter empy notes list bug

Crashed whenever someone tried to filter an empty list. I also disabled
the toggle switch when the count is 0 or image notes are null