Fixed typing in expressions with an operator