Fixed up weirdness with directive computes for counting descendant sections, and fixed problem with create regulation form not having correct kind.