Fixes failing units tests for NodeList.