Do we need this?

If `offset_value` is not set so it will be `nil`. That said your ternary is doing exactly what the `offset_value` already represent.