Greater than/ Less than conditional logic