Allow ending bracket before node name

Fixes #19