Yesterday, I was going to update Evernote to the latest revision but it complained that it was unable to load the database.
I logged out, renamed the database directory, upgraded and after logging back in, a new database was created, synced and all notes were visible again. So it appears like my database was corrupted and that caused the bugs I originally reported.