Duck fixes for the stats util