Allow badly formatted media dates, fix ToC ids