Implemented uniqueness constraints for recommended contacts