Question on multiple Wash sales across brokers

Hi, is there a rule on selecting the right purchase for a wash sale? For example:

1. 1/1/2018, Buy 100 shares of ABC for $1,000 from broker A

2. 1/1/2019, Buy 100 shares of ABC for $500 from broker B

3. 1/10/2019, Sell 100 shares of ABC for $600 from broker A

4. 1/25/2019, Buy 100 shares of ABC for $500  from broker A

5. 2/10/2019, Sell 100 shares of ABC for $600 from broker A

 

Broker A reported #3 as a wash sale on #4 and a lose of $300 on #5. Is it correct to report the wash sale as broker A reported, or the wash sale should be adjusted to the cost basis of #2 and report $100 profit on #5 instead?