Fix #1435 by amending away sign reversal.

Apparently #1435 is caused by a tiny typo. This should fix it.