Yeah, If/then would indeed be clearer.
Like If target is cursed, remove curse, otherwise cleanse and grant impervious