MODE-2206 Fixed the way the children with a given name are counted for a node which has transient changes.