Corrects page count in the threads view