Fix ES not storing compilation stats.