Two opposing players with same name both sent off during an incident in League Two

There was a confusing incident during the latter stages of Swindon's victory over Accrington Stanley in League Two on Saturday.
Indeed, the referee administered a couple of quick-fire red cards that immediately made the live text updates from both clubs difficult to follow.
The fun began in the 84th minute, when Swindon midfielder James Dunne was dismissed for raising an arm to James Dunne, who plays in defence for Accrington.
84 - RED CARD! James Dunne shown a straight red for an altercation with a Accrington player.
— Swindon Town FC (@Official_STFC) May 5, 2018
Accrington's Jimmy Dunne is also off after getting a second yellow
(3-0)#STFC
Accrington's Dunne was then shown a second yellow card for his...