fix for issue #774

ensure explicit request variables with value 0 are not treated as though they are undefined.
Merge pull request #844 from pixelcog/fix-router

Fix for issue #774