Bugfix

Stupid javascript type coercion. Was crashing when there was a tag that
was only a name