Fix so empty end date doesn't turn into 1970-01-01