It is typically a mistake to sell bonds when rates rise, says the director of credit at asset manager AllianceBernstein.