Swapped isNode for isElement, since textNodes could cause issues. BREAKING CHANGE.
2.0.0
Merged