Fix to not use in operator to check if a value is in an array

Change-Id: I1e46c54484a38108f3de8a14d0abb27e7920d95d
diff --git a/src/controllers/eventrouter.js b/src/controllers/eventrouter.js
index 5469fc2..b6a6b50 100644
--- a/src/controllers/eventrouter.js
+++ b/src/controllers/eventrouter.js
@@ -193,7 +193,7 @@
             return false;
         }
 
-        if(status in ['success', 'failed', 'end']) {
+        if(status === 'success' || status === 'failed' || status === 'end') {
             removeWorkflowRun(workflowRunId);
         }
         return true;