Check the childnodes list correctly