To be honest, when I used to many when - operators, especially goal operators, then the chance that one isn't executed raise with the amount of used when-op's. Therefore, I make seperat SEXP for all vital things I want to have.
Problem is, I can't really reproduce that and it isn't equal in each builds. What isn't working in most cases (maybe it is even meant that way)
I can't make a "clear goal" and "add new goal" to the same ship in the same SEXP. Sometimes it works, but often not.
I suggest make vital goals in seperat SEXP. Since the SEXP-Nodes have been bumped, there should be no danger reaching the limit anymore.