Handle null with required: false