Bug fix

Sorts out Exceptions caused by https://github.com/guardian/scribe-plugin-noting/pull/15, where I forgot to take into account that a couple of functions could return `undefined`.