Ensure that only element nodes are processed.
Fix issue causing comments to get msMatchesSelector called on them.