Fixing minor bug for deleted members