Advantage should not be applied in situations involving serious foul play, violent conduct or a second cautionable offence unless there is a clear
opportunity to score a goal.
That's pretty clear is it not?
Very clever @Big Cat however two can play that game...
Preceding the text you so kindly shared it says:
However, if the offence was denying the opposing team an obvious goal-scoring opportunity, the player is cautioned for unsporting behaviour; if the offence was interfering with or stopping a promising attack, the player is not cautioned.
That's pretty clear, is it not?