merged items inherit childrens' queryevents

[finishes #74917644]