wrong place to check for null
Merge pull request #43 from Politiken/did-not-merge-properly-will-try-this

wrong place to check for null