that is correct. You can't take a loss if you buy it in another account within 30 days. Even if that account is a retirement account.