Additionally, this fix is incorrect.  We're sorting the keys here, so `v` is always `nil`.