If you have a transaction 30 days "before" or "after", that transaction is considered as a wash sale
In this case, even though the "before" transaction was more than 2 months ago, but the "after" transaction is within 30 days, and thus is considered as wash sale