Fix contact assignment uniqueness for APIv3