Gold doesn't get shared of a player if he afked first then joined and then dc

1) 1 player stays afk at least 5 minutes and abandons
2) other players in the team leaves for more than 5 minutes
3) the guy who afked in the beginning joins the game
4) Than the guy who afked and joined after leaves the game for more than 20 minutes.

No gold share from the first abandoned afk guy. At the end of the game he had nearly 8k gold.
Match ID: 310701058

His gold should've been zeroed and shared after 5 minutes of his second abandonment.