Fix overdue tasks days count