ldsearch no longer tests triples multiple times