Changing can-value to treat undefined and null as ""

Fixes #891