Move 'q->neg = 0' to those places where it is needed