Stateserver Protocol: Fix automagic so parents can properly count children.