fix to allow distribuion centres to be add if none already exist
Merge branch 'master' into amend_bugs