Fixes #277 falsey values are treated as undefined