The 2 ER is correct. Here is the PBP for that inning. It tells you what runs are unearned.
Home Run (Line Drive to Deep LF)
Reached on E4 (Ground Ball to Deep 2B)
Single to RF (Ground Ball); Gordon to 3B
Reached on E6 (throw) (Line Drive); Merrifield to 2B
Single to 2B (Line Drive to Short CF-RF); Gordon Scores/unER; Merrifield to 3B; Cain to 2B
Single to RF (Line Drive to CF-RF); Merrifield Scores; Cain Scores/unER; Cabrera to 2B
Single to SS (Ground Ball to SS-3B Hole); Cabrera to 3B; Hosmer to 2B
Ground Ball Double Play: 2B-SS-1B (2B-1B); Cabrera Scores/No RBI/unER; Hosmer to 3B
Wild Pitch; Hosmer Scores/No RBI/unER
It is correct because there would have been two outs if not for the errors.