Fixed $null error

There was an error that made 'null' display on the widget.
Merge pull request #59 from jeroenvisser101/patch-1

Fixed $null error