Allow upserting visit records