Add a "no greater than" in my conditional logic