changing the delete logic for tags