I agree.
Let's say two players do exactly the same infringements - one a foul, the other kicking the ball away.
First player does the foul first, gets booked, then later on kicks the ball away. Doesn't get a second yellow because it's not 'serious' enough to see them sent off.
Second player...