Fixes #19.
Merge pull request #21 from AshFurrow/fix-parses-nil-check

@orta => Fixes #19.