fix for threads that have 0 posts