Fix missing validation constraint