Fix issue with workload_stats.sql