Pretty much the same as your view. Two soft yellow cards and if the Hearts players hadn't surrounded the ref then Cummings would have had a got out of jail card instead of another yellow one. Refs are too quick to reach for their back pocket for what they call over celebrations when they can turn a blind eye to a rugby style tackle in the penalty box at corners.
Cheers.