Add parentheses around conditionals for clarity