Any reason to nest an extra `if` branch instead of using an `else if`?