Don't try to serialise non-existent dates.