fixed bug with paging of threads in a forum