Added a catch for missing labels, fixes #15