Fixed deleting tags