Looked a definite red to me. The ref was awful. Just awful.
He based the majority of decisions on context, rather than whether something was actually a foul. Upson should have been booked. How the hell Ulloa didn't get any more free kicks is also beyond me.