Fix matching for empty time periods
If a time period is empty it will be loaded as an empty TimePeriod if the object is persisted. A new object may not have a TimePeriod at all.
The behavior in general is the same but during matching this was not considered yet. Similar to empty and null Strings.