Discard Redirects for Deleted or Inaccessible Items

Add condition to discard the redirects for deleted items or items with
no permissions in multi site environment.