diff --git a/camel/camel-search-sql-sexp.c b/camel/camel-search-sql-sexp.c
index 48335e7..53bbf11 100644
--- a/camel/camel-search-sql-sexp.c
+++ b/camel/camel-search-sql-sexp.c
@@ -543,7 +543,7 @@ get_size (struct _ESExp *f, gint argc, struct _ESExpResult **argv, gpointer data
 	d(printf("executing get-size\n"));
 
 	r = e_sexp_result_new (f, ESEXP_RES_STRING);
-	r->value.string = g_strdup("size");
+	r->value.string = g_strdup("size/1024");
 
 	return r;
 }
@@ -638,6 +638,7 @@ camel_sexp_to_sql_sexp (const gchar *sql)
 
 	e_sexp_result_free (sexp, r);
 	e_sexp_unref (sexp);
+
 	return res;
 }
 
diff --git a/camel/camel-search-sql.c b/camel/camel-search-sql.c
index 482b610..96d20ba 100644
--- a/camel/camel-search-sql.c
+++ b/camel/camel-search-sql.c
@@ -144,7 +144,7 @@ static Node elements[] =  { { (gchar *) "header-contains", (gchar *) "LIKE", 3,
 			    { (gchar *) "header-starts-with", (gchar *) "LIKE", 3, ' ', '%', 0, 0, 0, 1, 0, 0, 0, 0, 0},
 			    { (gchar *) "get-sent-date", (gchar *) "dsent", 2, ' ', ' ', 0, 0, 1, 1, 0, 0, 0, 0, 1, 0 },
 			    { (gchar *) "get-received-date", (gchar *) "dreceived", 2, ' ', ' ', 0, 0, 1, 1, 0, 0, 0, 0, 1, 0 },
-			    { (gchar *) "get-size", (gchar *) "size", 2, ' ', ' ', ' ', 0, 1, 1, 0, 0, 0, 0, 1},
+			    { (gchar *) "get-size", (gchar *) "size/1024", 2, ' ', ' ', ' ', 0, 1, 1, 0, 0, 0, 0, 1},
 			    { (gchar *) "match-threads", (gchar *) "", 0, ' ', ' ', 0, 0, 0, 1, 0, 0, 0, 0, 0},
 };
 #if 0
