Fix #1.

The basic problem seems to have been that using an array comprehension to transform `nodeLabel` caused uncertainty about the types, resulting in the `Union` type. Sorry about all the formatting nonsense, I have my editor set up to strip whitespace and a few other things on save :/