This is a new patch to simplify a query by removing a useless GROUP BY (no count in the query)
http://www.skyblog.com/punbb-1.2.14_search.php.patch