Added a guard to prevent merging from a descendant, with descendants, to a parent, Ticket0729