Fixes a minus sign error.