Fix for issue #774

Ensure explicit request variables with value 0 are not treated as though they are undefined.