Fix awful bug by checking that value is >= 0, not that it is true.