Bug fix for stats not getting trimmed in the DB for Crowsnest