CFY-1433 on many_to_one relationships, take smallest instance id (lexicographically)