Removing a contact

When I use Roster#denySubscription or Roster#removeContact when trying to deny an incoming subscription request or remove an already approved subscription the values aren’t be removed from the database. Instead the subscription type is being set to ‘none’ or 0. Is that the intended behavior or am I removing/denying incorrectly?