Fixed a bug where a subtraction of zero yielded an erroneous result.