ref #8476: do not show create child if tree is flat