Bugfix for deleted items