Tested for less than or equal to zero

Added two conditionals to test for less than or equal to zero.