Fix non-directive with attribute child directives.

Closes #108.