Refs #6078, make sure $this->dataTable is instance of DataTable before calling disablePivotBySubtableIfTableHasNoSubtables.