Bug: Grouping and Network Tax Query

I use the Network Query class to query network posts that are saved to the specific category, but sometimes all posts doesn't show up in the results.

I explored the issue and I found that if query contains tax_query or meta_query parameter, then the results will be grouped by post ID.

networkquery.php, lines 2283-2285

if ( !empty( $this->tax_query->queries ) || !empty( $this->meta_query->queries ) ) {
			$groupby = "{$this->network_posts}.ID";

Because posts in different blogs could have same object_id, grouping will mess up the results.

I solved the problem by commenting out the line 2284 from the networkquery.php file, but I hope that you could fix this issue to future versions too.