The first officer above has the rank ensign, and the second officer has the rank chief petty officer.
Because of this, these officers do not show in the list of officers available for reassignment (the above examples are bound and don't show regardless, but the point stands.) The code is only looking for bekks, ensigns and other KDF ranks, and will not detect the Fed-ranked officers as valid input.
Is there any chance we could get a fix for this issue? That would allow us to trade in these doffs for higher-ranking ones.