Fixes quite a few issues related to the forum_updatestatistics and forum_updatelastpost SPROCs.
Fixes quite a few issues related to the forum_updatestatistics and forum_updatelastpost SPROCs.

They weren't looking at deleted topics (just messages) and had some other weird coding bugs...

YAFNET/YAFNET,moorehojer/YAFNET,Pathfinder-Fr/YAFNET,Pathfinder-Fr/YAFNET,YAFNET/YAFNET,moorehojer/YAFNET,YAFNET/YAFNET,moorehojer/YAFNET,YAFNET/YAFNET,Pathfinder-Fr/YAFNET,mexxanit/YAFNET,mexxanit/YAFNET,mexxanit/YAFNET