Index: wp-includes/query.php
===================================================================
--- wp-includes/query.php	(revision 11386)
+++ wp-includes/query.php	(working copy)
@@ -2065,7 +2065,7 @@
 		}
 
 		if ( 'any' == $post_type ) {
-			$where .= '';
+			$where .= " AND $wpdb->posts.post_type != 'revision'";
 		} elseif ( $this->is_attachment ) {
 			$where .= " AND $wpdb->posts.post_type = 'attachment'";
 		} elseif ($this->is_page) {
