#354 Fix pagination in viewtopic.php