Yup, I was thinking "but you can't add averages like this..." when I wrote the post. There's one day with extra long deep sleep and a few days with long light sleep -- so they pull their respective averages up, and combining them does not recognize that they trade-off: when one is high, the other is low.
So that is definitely a mistake (BUG, FAIL) in the software.