diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index d896d8eab9f30f196a4c72a9ccc84fc5c6cec202..c805dae7075c85045a9fccdbbe707063081dab5a 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -794,7 +794,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
             $mod = -1;
             $start = $feed->get_item_quantity()-1;
             $end   = $start - ($params['max']);
-            $end   = ($end < 0) ? 0 : $end;
+            $end   = ($end < -1) ? -1 : $end;
         }else{
             $mod   = 1;
             $start = 0;