Hi!
It seems the implementation of the label service needs
some improvement
to support unbound variables (which should then return unbound labels,
rather than throw a runtime exception ;-).
Not sure whether this is possible (need to research it) but if it is,
yes, that probably would be the way to fix it.
--
Stas Malyshev
smalyshev(a)wikimedia.org