Fix division by zero on first day of session