Still doesn't seem to be fixed. phpbb still thinks that there's one more reply than there actually is, so between the time when $replies % 20 == 0 and $replies % 20 == 1 the last page returns "There are no posts in this topic."
You can test this behavior by pointing your browser to
http://tasvideos.org/forum/viewtopic.php?t=267&start=<The Number Of Replies to the Thread>
On most topics this will return the very last reply of the thread and nothing else. On Majora's Mask's thread it returns an empty thread because phpBB thinks there's one more reply than there actually is.
The reason I think your script failed to fix it is because the way phpBB handles the number of posts in a thread is funky. phpBB does not count the first post as a reply to the thread (presumptively because it's technically not a reply to anything.)
So topic_replies holds $total_number_of_posts_in_thread - 1
Anyway, the SQL command that will fix Majora's Mask is again,
UPDATE `phpbb_topics` SET `topic_replies` = `topic_replies` - 1 WHERE `topic_id` = 267 LIMIT 1;