Make sure UpdateStats isn't executed with errored data.