Fix a bug related to attributes on conditional blocks

Adding attributes to a conditional block reference would cause an exception to be raised.

The next step should be to not require the attributes be part of the closing tag.