diff -Naur wordpress/wp-includes/class-wp-query.php wordpress/wp-includes/class-wp-query.php
--- wordpress/wp-includes/class-wp-query.php	2018-11-14 15:16:50.995410000 +0530
+++ wordpress/wp-includes/class-wp-query.php	2018-11-14 15:17:37.447019453 +0530
@@ -2763,6 +2763,7 @@
 			$this->posts = array_map( 'intval', $this->posts );
 			$this->post_count = count( $this->posts );
 			$this->set_found_posts( $q, $limits );
+			$post = $this->next_post();
 
 			return $this->posts;
 		}
@@ -2774,7 +2775,8 @@
 
 			$this->post_count = count( $this->posts );
 			$this->set_found_posts( $q, $limits );
-
+			$post = $this->next_post();
+			
 			$r = array();
 			foreach ( $this->posts as $key => $post ) {
 				$this->posts[ $key ]->ID = (int) $post->ID;
