Fix a null condition
Merge pull request #124 from jarmokortetjarvi/backend

Fix a null comparison