Push the `if` inside `(result, ... )`.