if ( $hash != $this->query_vars_hash ) {
$this->query_vars_changed = true;
$this->query_vars_hash = $hash;
}
In class-es-wp-query-wrapper.php probably won't work as intended since they are set as private in the WP_Query class. This probably doesn't change anything but maybe just removing that code would be best.