Help with a logic problem with `DateOnly`? - C#