Huge performance fix for the forums index page.

While this is not directly tracked as part of #117 this commit is part
of the performance effort.