Avoid NPE when there are no citations. Fixes #162