Fixed bug #53437 Crash with unserialized DatePeriod instance