Fix a bug handling nodes with variable arguments. The code was fixed to assume