     
     // MARK: - UITableViewDelegate
 	override func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) {
-		if filledUsingLastCell && isDynamicLastCell && (self.dynamicLastCellHeight == nil) {
+		if filledUsingLastCell && dynamicLastCellHeight == nil {
 			if let indexPathsForVisibleRows = tableView.indexPathsForVisibleRows,
 				let lastIndexPath = indexPathsForVisibleRows.last,
 				lastIndexPath.row == indexPath.row

                         section: (indexPath as NSIndexPath).section)
    }
	
	fileprivate func refreshTableView() {
		tableView.beginUpdates()
		tableView.endUpdates()
	}

			? UITableViewAutomaticDimension
			: super.tableView(tableView, heightForRowAt: superIndexPath(for: lastCellIndexPath))
		// Use default height when last cell is not on the screen.
		guard tableView.indexPathsForVisibleRows?.contains(lastCellIndexPath) ?? false
			else { return }
		let previousRowFrame = tableView.rectForRow(at: IndexPath(row: lastCellIndexPath.row - 1, section: lastCellIndexPath.section))
		// Get height of empty spaces to fill
