It could be that first Event pictured. I would add a condition to check that the player is on the Floor as well in that one. That way that one activates when they are on the floor. And the midair action will happen when the player is off the floor jumping/falling.
EDIT: Also looks like you are setting "Variable1" to true during the reset. Wouldn't that need to be set back to false? Since, it is being set to true during the attack phase?
You may also want to use a separate variable for each one. One for on ground, and one for the mid-air? Depending on how you are doing things. That could be a confliction as well.
EDIT 2: And, during the reset. The check for W and E key, would want to be inverted? To see that they are not down? Or simply have one condition, to check that they are on the ground, and set the variable accordingly.
That's just a few things I noticed looking over the screenshots. Hope it helps :)