         case settingsTableView:
             return settingItems.count
         case subscriptionsTableView where subscriptions != nil:
-            return subscriptions!.count
+            return max(1, subscriptions!.count)
         default:
             return 0
         }

    }
}

class InternalProfileViewController: ViewController, UITableViewDelegate, UITableViewDataSource, InternalProfileHeaderViewDelegate, EmptyStateTableViewDelegate {
    
    var settingsTableView: UITableView!
    var subscriptionsTableView: EmptyStateTableView!
    var internalProfileHeaderView: InternalProfileHeaderView!
    var subscriptions: [Series]?
    var headerView: UIView!

            cell.selectionStyle = .gray
            return cell
        case subscriptionsTableView:
            guard let subs = subscriptions else { return UITableViewCell() }
            if subs.count > 0 {
                let cell = tableView.dequeueReusableCell(withIdentifier: reusableSubscriptionCellID, for: indexPath) as? SearchSeriesTableViewCell ?? SearchSeriesTableViewCell()
                if let series = subscriptions?[indexPath.row] {
                    cell.configure(for: series, index: indexPath.row, showLastUpdatedText: true)
                }
                cell.backgroundColor = .offWhite
                return cell
            }
            else {
                guard let user = System.currentUser else { return UITableViewCell() }
                let cell = NullProfileTableViewCell(user: user)
                tableView.backgroundColor = .paleGrey
                return cell
            }
        default:
            return UITableViewCell()
        }
