Unit expression precedence error. Fixes #667