Removed prev and next links if there is only one page of results

May want to take a quick look to confirm this behaves as expected given bug discovered with any pagination number over 10.  Thanks!