Don't link to nonexistent next page on last page