Narna's fix of the Clan Stats for the SimpleClans plugin when used on MySQL.