Properly format `if` statements