Fix operator precedence.

Refs #5870