Fix type of TripleNode attributes