fixed a bug in NLCompositeAction's enumeration of groundings.