Handle negative directory case and unlisted contacts.