Merge pull request #472 from garthkerr/develop

Added a condition so that the previous link respects use_page_numbers con