Update and fix ArrayToNodeList demo