Fixed a bug related to the ancillary triples