I thought I had fixed this, but apparently not. The scheduled end time should be taken from the day that the meeting started, not ended.