mapvalues: use warn_missing for factors. Fixes #180