uniquify contracts by vendor id