The bug seems to be on line 244 (I'm 99% sure that's the line... I did modify a few things to suit my taste)... there's no space before "View All," so it runs into the last page number. It was just a simple matter of inserting a space between the quote and the first angle bracket in the anchor tag:
else $output .= '<a class="contentjumpall"
else $output .= ' <a class="contentjumpall"