Index: e-filter-bar.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-filter-bar.c,v
retrieving revision 1.58
diff -u -p -r1.58 e-filter-bar.c
--- e-filter-bar.c	29 Sep 2006 07:37:56 -0000	1.58
+++ e-filter-bar.c	4 Oct 2006 06:36:42 -0000
@@ -684,6 +684,8 @@ set_property (GObject *object, guint pro
 					view_id = xml_get_prop_int (node, "view_id");
 					scope = xml_get_prop_int (node, "searchscope");
 					item_id = xml_get_prop_int (node, "item_id");
+					if (item_id == -1) /* Restore to default */
+						item_id = 0;
 
 					if (scope == E_FILTERBAR_CURRENT_FOLDER_ID)
 						is_cur_folder = TRUE;
