Added support for checking for negative0  - thanks @wibblymat for locating this code!