Split the clearing of sanity flags from validating consistency.