Funny enough, a bug is coming up right now.
Bug: there is a clickable link to go to the last page of the thread, but when you click on it, it gives a 404 error.
Steps to reproduce: delete all posts on the last page of a multi-page thread.
Steps to resolve: post a new comment to anchor the last thread page (and hope it doesn't get deleted)