Fix the inconsistency check.