Fixed how we decide to create strings for the triples.