Remove tags from deleted nodes