Fix another bug with signs. This should work, and it has been tested.