Merge this `if` into the `match` below.