Was the debt removed or was it reclassified into equity/preferred stock?
Some argue that preferred shares are actually closer to debt than equity, so you might be mistaken.
Also, converting the debt to preferred shares was beneficial to the holder of the debt, as it is senior to a regular general obligation like the debt(payable) which was carried before..
In my opinion, the holder of the debt got the better end of the deal here.