Added MERGED operator. Found problem with WITH DESCENDANTS for EHR instances