diff --git a/src/Services/EventActionService.cpp b/src/Services/EventActionService.cpp
index 5b5fd201081d36a423d8f71905ab2706d9103365..34cd378397a27ce510c084ede2dc89ff14441bc7 100644
--- a/src/Services/EventActionService.cpp
+++ b/src/Services/EventActionService.cpp
@@ -59,7 +59,7 @@ void EventActionService::deleteEventActionDefinitions(Message message) {
 			for (uint16_t index = 0; index < ECSS_EVENT_ACTION_STRUCT_ARRAY_SIZE; index++) {
 				if (eventActionDefinitionArray[index].applicationId == applicationID &&
 				    eventActionDefinitionArray[index].eventDefinitionID == eventDefinitionID &&
-				    eventActionDefinitionArray[index].enabled == false) {
+				    eventActionDefinitionArray[index].enabled == true) {
 					eventActionDefinitionArray[index].empty = true;
 					eventActionDefinitionArray[index].eventDefinitionID = 65535;
 					eventActionDefinitionArray[index].request = "";
diff --git a/test/Services/EventActionService.cpp b/test/Services/EventActionService.cpp
index be585f18aa9b989c6365043c0b96725906669f4d..a9d6ac0187062410d8b6860438d8ff1a909945fb 100644
--- a/test/Services/EventActionService.cpp
+++ b/test/Services/EventActionService.cpp
@@ -169,14 +169,16 @@ TEST_CASE("Enable event-action definitions TC[19,4]", "[service][st09]") {
 	eventActionService.addEventActionDefinitions(message0);
 	Message message1(19, 1, Message::TC, 0);
 	message1.appendEnum16(1);
-	message1.appendEnum16(0);
+	message1.appendEnum16(1);
 	data = "00";
 	message1.appendString(data);
 	eventActionService.addEventActionDefinitions(message1);
 	Message message2(19, 4, Message::TC, 0);
-	message2.appendUint16(1);
+	message2.appendUint16(2);
 	message2.appendEnum16(1);
 	message2.appendEnum16(0);
+	message2.appendEnum16(1);
+	message2.appendEnum16(1);
 	eventActionService.enableEventActionDefinitions(message2);
 	CHECK(eventActionService.eventActionDefinitionArray[0].enabled == 1);
 	CHECK(eventActionService.eventActionDefinitionArray[1].enabled == 1);