Changing the compares to less than zero as it reads easier.