fix for issue #774

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