Accept null values in date parsing