When notebook is deleted, first delete notes (SQLite doesn't seem to respect the ON DELETE CASCADE)