Updated the type checking of NodeList