Fixed invalid value for dates being stored for assignments.