 Index: git-foo/addressbook/backends/file/Makefile.am
 ===================================================================
---- git-foo.orig/addressbook/backends/file/Makefile.am	2008-05-02 15:47:53.000000000 +0100
-+++ git-foo/addressbook/backends/file/Makefile.am	2008-05-02 15:47:53.000000000 +0100
+--- git-foo.orig/addressbook/backends/file/Makefile.am	2008-05-06 12:34:14.000000000 +0100
++++ git-foo/addressbook/backends/file/Makefile.am	2008-05-06 12:34:14.000000000 +0100
 @@ -12,6 +12,8 @@
  libebookbackendfile_la_SOURCES =			\
  	e-book-backend-file.c				\

 
 	uri = e_source_get_uri (source);
 
@@ -1317,12 +1327,22 @@
 	g_free (bf->priv->summary_filename);
 	bf->priv->summary_filename = g_strconcat (bf->priv->filename, ".summary", NULL);
 	bf->priv->summary = e_book_backend_summary_new (bf->priv->summary_filename, SUMMARY_FLUSH_TIMEOUT);

+  db = g_hash_table_lookup (priv->sdbs, data->query_term);
+
+  /* create the cursor for the interation */
+  db_error = db->cursor (db, NULL, &dbc, 0);
+
+  if (db_error != 0)
+  {
