Fix 712. Does not override values[token] if the new value is undefined.

Fixes Issue #712 

Ping @lsmith