[support #1776465] fix for: TitanSim R14A04: GUI crashes when a scenario start

Change-Id: Ic59be786cee45a3ac2ca5e7376d1333b3c2c56c0
Signed-off-by: József Gyürüsi <jozsef.gyurusi@ericsson.com>
diff --git a/src/DsRestAPI/EPTF_CLL_DsRestAPI_DSServer_Functions.ttcn b/src/DsRestAPI/EPTF_CLL_DsRestAPI_DSServer_Functions.ttcn
index 5722260..b1c2acb 100644
--- a/src/DsRestAPI/EPTF_CLL_DsRestAPI_DSServer_Functions.ttcn
+++ b/src/DsRestAPI/EPTF_CLL_DsRestAPI_DSServer_Functions.ttcn
@@ -976,6 +976,9 @@
     if (f_EPTF_DsRestAPI_DSServer_isOldResponse(pl_userData[0])) {
       return;
     }
+    if (not ischosen(v_DsRestAPI_DSServer_filterItemsDB[pl_userData[0]].postFilterItem)) {
+      return;
+    }
     v_DsRestAPI_DSServer_requestHandlerDB[v_DsRestAPI_DSServer_responseHandlerDB[pl_userData[0]].requestId].outstandingRequests := v_DsRestAPI_DSServer_requestHandlerDB[v_DsRestAPI_DSServer_responseHandlerDB[pl_userData[0]].requestId].outstandingRequests - 1;
     v_DsRestAPI_DSServer_filterItemsDB[pl_userData[0]].postFilterItem.counter := v_DsRestAPI_DSServer_filterItemsDB[pl_userData[0]].postFilterItem.counter - 1;
     if (not pl_isFilterTrue) {