Fixed bug where inserting BR elements on IE 8 would thrown an exception when the range is at a empty text node.