You basically did a bond swap which does not present a problem provided the issuers are different, but that is not the case here. The sale is a wash sale if the two bonds are "substantially identical".
The two bonds will generally not be considered substantially identical if (1) the securities have different issuers (again, not the case here apparently), or (2) there are substantial differences in either maturity or coupon rate (which appears to be the case). Thus, the sale is not a wash sale. However, you should consult your financial/tax adviser on this matter.