Of course the (second) foul was a yellow - even a child could see that. The (third!) yellow, slightly less so, but certainly lesser cards have been given.
Very poor, by the ref, and I hope he takes stock of those decisions, should he be minded to re-watch the match.
As it stands, f***...