Fixed operator precedence issues.