Fix incorrect error message in cases like (1 + 1)