Fix issue #317. Falsey value at end of path

Fix added to handle falsey at end of path use case. Test added to verify it works. New test failed before the change. We need to cut a new 2.0.1 version soon. This issue could affect many folks.