Changed two incorrect > operations to >=