Fix bug in subtract.