Updated Date validator to conditionally allow a null value
Added licence