Fix for "next page request" issue #29

Any comments and ideas for this fix or issue