Fix bug of not display properly for overdue tasks.