#809 - Merging patients with overlapping visits does not transfer all the encounters