Added checks for deleted stories