BUG#1644 - Fix: "Next #" link is displayed even if there are no more entries.