Fix a possible constraint error.