Fix create in hierarchical mode.