Index: wp-includes/query.php
===================================================================
--- wp-includes/query.php	(revision 21206)
+++ wp-includes/query.php	(working copy)
@@ -2177,7 +2177,7 @@
 		if ( !empty($q['s']) ) {
 			// added slashes screw with quote grouping when done early, so done later
 			$q['s'] = stripslashes($q['s']);
-			if ( empty( $_GET['s'] ) && is_main_query() )
+			if ( empty( $_GET['s'] ) && $this->is_main_query() )
 				$q['s'] = urldecode($q['s']);
 			if ( !empty($q['sentence']) ) {
 				$q['search_terms'] = array($q['s']);
