Fix division by zero warning when no sleep was lost this week