Added support for ranges between element and text nodes