Fixed "no task completed today" message not being displayed in certain cases.