Potential fix for #12

Ensures not only that an 'inlines' attribute exists, but also that it is not empty.  Seems to fix issue where top-level nested inline without an 'inlines' value throws an error.