In the past I’ve approached this problem by performing tests in KM actions following the Pause action. You can see an example of this in this discussion
FYI, I would now not use nested IF actions, but instead I would use a Switch action which is much easier to maintain.
Hope this helps a bit more than my last suggestion.