Made routines more robust
Merge branch 'master' of github.com:NationalMuseumofDenmark/headnet.node.project.natmus-samlinger
Merge branch 'master' into testing