Index: prev_next_views.module
===================================================================
--- prev_next_views.module	(revision 478)
+++ prev_next_views.module	(working copy)
@@ -71,7 +71,7 @@
     foreach ($nodes as $node) {
       if (array_search($node->nid, $_SESSION['prev_next_views']) === FALSE) {
         // The node being loaded is no longer part of the views results, so forget about it
-        unset($_SESSION['prev_next_views']);
+        //unset($_SESSION['prev_next_views']);
       }
     }
   }
@@ -94,7 +94,7 @@
  */
 function prev_next_views_views_pre_execute(&$view) {
   if (in_array($view->name, variable_get('prev_next_views_enabled', array()))) {
-    $result = $view->build_info['query']->execute();
+    $result = $view->build_info['query']->execute()->fetchAllAssoc('nid');
 
     $nids = array();
     foreach ($result as $item) {
