Fixed matching of empty snippet group.
Fixed bug related to the order in which directives for list elements are
pretty-printed.
Matching directive child+ and related operators.