bug fix for deleted user pins showing edit and delete buttons