Fix #1435 by amending away sign reversal.
Merge pull request #2711 from troels/fix-1435

Fix #1435 by amending away sign reversal.