Cannot coerce Null to Date
line 4
