Removed redundant tests on node matches.