Add validation for null items