Remove shortest path rels from consideration for uniqueness predicates