Sleep ratings vanishing

Dear All,
Any idea what I could do better or if this might be a bug?
I do the stars rating via “Last night” on the screen showing the sleep graph as soon as I’m awake.
Then I leave the screen via the arrow at the to left.
For some of the ratings hours or days later I realize the are missing although I’m sure I did it.