Values without property length would pass validation

fix bug where value with no length would pass validation with length required