Fixed DOBValidation bug

substring bug