Make sure parameter is not nul either.
Merge pull request #241 from siburny/master

Make sure parameter is not null either.