Fixed minor syntax error in expandNode.