Fixes #8 - check if given truthy value rather than specifically null or undefined