diff --git a/GUI/coregui/Views/FitWidgets/FitComparisonWidget.cpp b/GUI/coregui/Views/FitWidgets/FitComparisonWidget.cpp
index d4630946f41bc300ca9bfe3b215155ac75b7e263..eca373c4bd91144d6b24aea2664f22144abbe510 100644
--- a/GUI/coregui/Views/FitWidgets/FitComparisonWidget.cpp
+++ b/GUI/coregui/Views/FitWidgets/FitComparisonWidget.cpp
@@ -186,7 +186,7 @@ void FitComparisonWidget::calculateRelativeDifference()
 
 void FitComparisonWidget::unsubscribeFromChildren()
 {
-    if (simulatedDataItem())
+    if (jobItem() && simulatedDataItem())
         simulatedDataItem()->mapper()->unsubscribe(this);
 
     if (diffItem())
@@ -196,7 +196,6 @@ void FitComparisonWidget::unsubscribeFromChildren()
 JobItem* FitComparisonWidget::jobItem()
 {
     JobItem* jobItem = dynamic_cast<JobItem*>(currentItem());
-    Q_ASSERT(jobItem);
     return jobItem;
 }