Fix a validity issue