Index: camel-search-private.c
===================================================================
--- camel-search-private.c	(revision 7644)
+++ camel-search-private.c	(working copy)
@@ -428,7 +428,7 @@
 
 	ptr = value;
 	while ((c = camel_utf8_getc((const unsigned char **)&ptr)) && g_unichar_isspace(c))
-		value = ptr;
+		value = ptr++;
 	
 	switch(type) {
 	case CAMEL_SEARCH_TYPE_ENCODED:
