 		while tmpIndexNode
 			# by previous sibling
 			while tmpSiblingNode
-				if tmpSiblingNode isnt node
+				if tmpSiblingNode isnt node and tmpSiblingNode instanceof Tag
 					# get sibling item
 					if tmpSiblingNode._documentStyle?.parentSet and (tmpSiblingItem = tmpSiblingNode._documentStyle.item)
 						if tmpSiblingTargetItem = findItemWithParent(tmpSiblingItem, parent)

		@file.readyToUse = false
		stylesToRevert.push @
		updateWhenPossible @

		# clean index finding data
		tmpNode = @node
		while (tmpNode = tmpNode._parent) && not tmpNode.style
			if tmpNode.name is 'neft:blank'
				tmpNode._documentStyle = null
		return

	revertItem: ->

		itemDocumentNode = @item.document.node
		@item.document.node = null
		@item.document.visible = true

		# revert linkUri
		if @isLinkUriSet
