Handle `oldValue` when value is `null`

Specifically, when creating a new PBC Request, `oldValue` can be `null`, and this caused an error.