 handlers/views_handler_field.inc                            |   11 +++++++++++
 modules/comment/views_handler_field_comment_link_delete.inc |    2 +-
 modules/node/views_handler_field_node_link_delete.inc       |    2 +-
 .../node/views_handler_field_node_revision_link_delete.inc  |    2 +-
 modules/user/views_handler_field_user_link_cancel.inc       |    2 +-
 5 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/handlers/views_handler_field.inc b/handlers/views_handler_field.inc
index 65210d9..88a54de 100644
--- a/handlers/views_handler_field.inc
+++ b/handlers/views_handler_field.inc
@@ -1544,6 +1544,17 @@ If you would like to have the characters \'[\' and \']\' please use the html ent
   function ui_name($short = FALSE) {
     return $this->get_field(parent::ui_name($short));
   }
+
+  function delete_get_destination(){
+    $destination = drupal_get_destination();
+    if(count($this->view->result) == 1 && $this->view->query->offset >= $this->view->query->limit){
+      $url_query = parse_url($destination['destination']);
+      parse_str($url_query['query'], $url_data);
+      $url_data['page'] = $url_data['page'] - 1;
+      $destination['destination'] =  $url_query['path'] . '?' . http_build_query($url_data);
+    }
+    return $destination;
+  }
 }
 
 /**
diff --git a/modules/comment/views_handler_field_comment_link_delete.inc b/modules/comment/views_handler_field_comment_link_delete.inc
index c55ac1c..1641352 100644
--- a/modules/comment/views_handler_field_comment_link_delete.inc
+++ b/modules/comment/views_handler_field_comment_link_delete.inc
@@ -22,7 +22,7 @@ class views_handler_field_comment_link_delete extends views_handler_field_commen
 
     $this->options['alter']['make_link'] = TRUE;
     $this->options['alter']['path'] = "comment/" . $cid . "/delete";
-    $this->options['alter']['query'] = drupal_get_destination();
+    $this->options['alter']['query'] = $this->delete_get_destination();
 
     return $text;
   }
diff --git a/modules/node/views_handler_field_node_link_delete.inc b/modules/node/views_handler_field_node_link_delete.inc
index 8271c0b..47d6c7b 100644
--- a/modules/node/views_handler_field_node_link_delete.inc
+++ b/modules/node/views_handler_field_node_link_delete.inc
@@ -23,7 +23,7 @@ class views_handler_field_node_link_delete extends views_handler_field_node_link
 
     $this->options['alter']['make_link'] = TRUE;
     $this->options['alter']['path'] = "node/$node->nid/delete";
-    $this->options['alter']['query'] = drupal_get_destination();
+    $this->options['alter']['query'] = $this->delete_get_destination();
 
     $text = !empty($this->options['text']) ? $this->options['text'] : t('delete');
     return $text;
diff --git a/modules/node/views_handler_field_node_revision_link_delete.inc b/modules/node/views_handler_field_node_revision_link_delete.inc
index e0d00a7..35a9eb1 100644
--- a/modules/node/views_handler_field_node_revision_link_delete.inc
+++ b/modules/node/views_handler_field_node_revision_link_delete.inc
@@ -29,7 +29,7 @@ class views_handler_field_node_revision_link_delete extends views_handler_field_
 
     $this->options['alter']['make_link'] = TRUE;
     $this->options['alter']['path'] = 'node/' . $node->nid . "/revisions/$vid/delete";
-    $this->options['alter']['query'] = drupal_get_destination();
+    $this->options['alter']['query'] = $this->delete_get_destination();
 
     return !empty($this->options['text']) ? $this->options['text'] : t('delete');
   }
diff --git a/modules/user/views_handler_field_user_link_cancel.inc b/modules/user/views_handler_field_user_link_cancel.inc
index fe038da..5649bf3 100644
--- a/modules/user/views_handler_field_user_link_cancel.inc
+++ b/modules/user/views_handler_field_user_link_cancel.inc
@@ -25,7 +25,7 @@ class views_handler_field_user_link_cancel extends views_handler_field_user_link
       $text = !empty($this->options['text']) ? $this->options['text'] : t('Cancel account');
 
       $this->options['alter']['path'] = "user/$uid/cancel";
-      $this->options['alter']['query'] = drupal_get_destination();
+      $this->options['alter']['query'] = $this->delete_get_destination();
 
       return $text;
     }
