Fixed compute queries for intra encounter and vs exemplar