Oura integration: Sleep duration incorrectly records nap instead of main overnight sleep when multiple sessions exist on the same day

When Oura logs both a main overnight sleep (type: long_sleep) and a nap (type: sleep) on the same calendar day, Intervals.icu stores the nap duration in sleepSecs rather than the overnight duration.

The sleepScore and avgSleepingHR appear correct (they come from the main sleep), but sleepSecs is wrong.

Matches between Intervals sleepSecs and Oura nap duration on my profile:

│ Date │ Intervals sleepSecs │ Oura main sleep │ Oura nap │
│ 2026-01-06 │ 0.47h │ 7.47h │ 0.47h ✗ │
│ 2026-01-07 │ 0.07h │ 7.28h │ 0.07h ✗ │
│ 2026-01-09 │ 0.23h │ 6.49h │ 0.23h ✗ │
│ 2026-01-10 │ 0.62h │ 7.28h │ 0.62h ✗ │
│ 2025-10-29 │ 0.12h │ 6.98h │ 0.12h ✗ │
│ 2025-11-01 │ 0.73h │ 7.47h │ 0.73h ✗ │
│ 2026-02-17 │ 1.54h │ 7.40h │ 1.54h ✗ │
│ 2026-02-21 │ 0.78h │ 8.04h │ 0.78h ✗ │

9/9 anomalous days confirmed as nap duration. The match is exact to the second in every case.

Expected behaviour: sleepSecs should reflect the longest session (type: long_sleep) when multiple sessions exist, or the sum of all the sessions of the day

Device: Oura Ring (v2 API), synced to Intervals.icu.