Fixes #1100. Negating a variable causes assignment