Merged results for hierarchical queries refs #18878