IMPORTANT bug fix. The order of input nodes, being read as strings and not as ints, was sometimes wrong.