Correction de ensure_consistency